package cn.seaboot.admin.store.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * POJO
 * 多表单集合 [t_store_form_set]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "多表单集合 [t_store_form_set] 实体类")
public class StoreFormSet implements Serializable {

    private static final long serialVersionUID = -5777075197869872690L;
    /**
     * 数据库ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "数据库ID")
    private String projectId;
    /**
     * ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 表单名称
     */
    @Size( max = 32)
    @Schema(description = "表单名称")
    private String formName;
    /**
     * 功能描述
     */
    @Size( max = 32)
    @Schema(description = "功能描述")
    private String description;
    /**
     * 表单布局
     */
    @Size( max = 16)
    @Schema(description = "表单布局")
    private String layout;
    /**
     * 表单提交路径
     */
    @Size( max = 64)
    @Schema(description = "表单提交路径")
    private String targetUrl;
    /**
     * 表单方向
     */
    @Size( max = 16)
    @Schema(description = "表单方向")
    private String requestMethod;
    /**
     * 控件权重
     */
    @Schema(description = "控件权重")
    private Integer columnSpan;
    /**
     * 成功自动关闭
     */
    @Schema(description = "成功自动关闭")
    private Boolean autoClose;

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLayout() {
        return layout;
    }

    public void setLayout(String layout) {
        this.layout = layout;
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public Integer getColumnSpan() {
        return columnSpan;
    }

    public void setColumnSpan(Integer columnSpan) {
        this.columnSpan = columnSpan;
    }

    public Boolean getAutoClose() {
        return autoClose;
    }

    public void setAutoClose(Boolean autoClose) {
        this.autoClose = autoClose;
    }
}
